<?php
include("../../class/advLight.php");
//include "EventCalendar.php";

/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$m =@date("m");
$y =@date("y");

$l = $_GET['h'];
	if(isset($_GET['m']))
	  $m = $_GET['m'];
	if(isset($_GET['y']))
	  $y = $_GET['y'];

if(strlen($m)<2)
{
    $m="0".$m;
}

$eventCal = new EventCalendar();
$eventCal->fxn = $fxn;
$eventCal->cself=$_GET['h']."event.php&e=".$_GET['e']."&h=".$_GET['h'];
$monthEvents = $cquery->getContentByDates($_GET['e'],$y."-".$m);

$eventCal->setEventData($monthEvents);
$eventCal->drawCalendar();
?>
